package com.ruoyi.school.service;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.school.domain.PacClassTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.school.domain.vo.PacClassInfoVo;

import java.util.List;

/**
* @author jeremylin
* @description 针对表【pac_class_teacher(班级与老师的绑定关系表)】的数据库操作Service
* @createDate 2025-07-09 21:35:18
*/
public interface PacClassTeacherService extends IService<PacClassTeacher> {

    /**
     * @param id
     * @return
     */
    List<PacClassTeacher> getListByClassId(Integer id);

    /**
     * 查询老师绑定的班级
     *
     * @param user
     * @return
     */
    List<PacClassInfoVo> selectByTeacher(SysUser user);

    /**
     * 查询老师绑定的班级信息，权限查询
     * @param user
     * @param teacher
     * @return
     */
    List<PacClassInfoVo> selectByTeacherByKey(SysUser user, String teacher);
}
